import "package:shared_preferences/shared_preferences.dart";

setUserToken(token) async{
  final prefs = await SharedPreferences.getInstance();
  prefs.setString("userToken", token);
}

getUserToken() async{
  final prefs = await SharedPreferences.getInstance();
  String userToken = prefs.getString("userToken");
  return userToken;
}